<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<style type="text/css">
		table{
			border-collapse: collapse;
		}
		td{
			border: 1px solid #666;
			font-family: "微软雅黑";
			padding: 3px 5px;
		}
	</style>
</head>
<body>
	<script type="text/javascript">
		document.write("<table>");
            for (var a=1; a<=9; a++) {
            	document.write("<tr>");
            	for (var j = 1;j <= a;j++ ) {
            		document.write("<td>")
            		document.write(j+ "*" + a + "=" + j * a);
            		document.write("</td>")
            	}
            	document.write("</tr>")
            }	
            document.write("</table>")
	</script>
</body>
</html>